<?php session_start();

require_once"verifica.jsp";

require_once"admin/conexao.jsp";
//require_once"com_acessos.jsp";

global $cad, $grava, $alt, $atualiza, $pesq;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Hotelaria - Sistema Online de Gestao Hoteleira</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description"content="COLABORE Hotelaria - Sistema de Controle Hoteleiro">
<meta name="keywords" content="COLABORE Hotelaria - Sistema de Controle Hoteleiro">
<meta name="robots" content="NONE">
<meta name="author" content="Renoldi">
<meta name="language" content="pt-br">


<link rel='stylesheet' type='text/css' href='css2/css.css' media='screen'>
<link rel='stylesheet' type='text/css' href='css2/menu.css' media='screen'>
<link rel='stylesheet' type='text/css' href='css2/print.css' media='print'>

<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<script language="javascript" type="text/javascript" src="css2/event-listener.js"></script>
<script language="javascript" type="text/javascript" src="css2/div.js"></script>
<script language="javascript" type="text/javascript" src="css2/internal_request.js"></script>
<script language="javascript" type="text/javascript" src="css2/keycode.js"></script>
<script language="javascript" type="text/javascript" src="XXREMOVERxxcss2/event.js"></script>
<script language="javascript" type="text/javascript" src="css2/XXREMOVERxxmask.js"></script>
<script language="javascript" type="text/javascript" src="css2/masked-input.js"></script>
<script language="javascript" type="text/javascript" src="css2/auto-tab.js"></script>
<script language="javascript" type="text/javascript" src="css2/visibility.js"></script>






<script language="JavaScript">
<!--
ready = "yes";
function rem() { }
function menuOn() { }
//-->
</script>


<?php
if($_REQUEST["GEO"]){
	include_once("gmap.jsp");
}
?>

</head>
<body leftmargin="0" topmargin="0" bgproperties="fixed"  bgcolor="White" marginheight="0" marginwidth="0">
<div id="contentXXX">

<!-- MENU INICIO -->
<div id="menu1" class="noprint" style="top: 88px; left: 0px; width: 0px; height: 0px; position: absolute; visibility: hidden; z-index: 12;">
<table class="menuConteudo" cellpadding="2" cellspacing="0">
<tbody><tr>
	<td>
		<table border="0" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td valign="top">
				<div class="grupo1">
				<b>&nbsp; Pessoas &nbsp; </b><br>
                 <?php
                 getMenu("cad", 8, "H&oacute;spedes e Funcion&aacute;rios", null, "htmlnovo", "b");                 
                 
                 ?>
                 
				</div>


				<div class="grupo1">
				<b>&nbsp;Unidade Hoteleira&nbsp;</b><br>
                <?php
                 getMenu("cad", 1, null, null, "ajaxnovo", null); // tipo de hospedaria 
                 getMenu("cad", 2, null, null, "ajaxnovo", null); // unidade   
                ?>
				<br>
				</div>
			</td>
			<td valign="top">
				<div class="grupo1">
				<b>&nbsp;Montagem das Habita&ccedil;&ocirc;es&nbsp; </b><br>
                <?php
                getMenu("cad", 12, null, null, "ajaxnovo", null); // montagem da habitacao
                //getMenu("cad", 5, null, null, "ajaxnovo", null); // localizacao da Cama
                getMenu("cad", 15, null, null, "htmlnovo", null); // valor p habitacao 
                ?>
				</div> 
				<div class="grupo1">
				<b>&nbsp;Tabelas Auxiliares - Habita&ccedil;&atilde;o&nbsp;</b><br>
				<?php
                 getMenu("cad", 4, null, null, "ajaxnovo", null); // blocos				 
                 getMenu("cad", 11, null, null, "ajaxnovo", null); // tipo de habitacao                 
                 //getMenu("cad", 14, null, null, "ajaxnovo", null); // tipo de cama
                 
                 ?>
                 </div>               

			</td>
			
			<td class="grupo2" valign="top">
				<b>&nbsp;Almoxarifado/Servi&ccedil;os&nbsp;</b><br>
				<?php
                 getMenu("cad", 17, "Categoria de Itens", null, "ajaxnovo", null); //Categorias de Produtos				 
                 getMenu("cad", 18, "Itens: Produtos / Servi&ccedil;os", null, "ajaxnovo", null); // produtos	
                 getMenu("cad", 19, "Lancamento de Entrada de <br>itens no Almoxarifado", null, "ajaxnovo", null); // tipo de habitacao                 
                 
                 ?>
			</td>
			<td class="grupo2" valign="top">
				<b>&nbsp;Tabelas Auxiliares - Pessoa&nbsp;</b><br>
				<?php
                 getMenu("cad", 6, null, null, "ajaxnovo", null); // como descobriu
                 getMenu("cad", 7, null, null, "ajaxnovo", null); // motivo viagem
                 getMenu("cad", 9, null, null, "ajaxnovo", null); // tipo documento
                 getMenu("cad", 10, null, null, "ajaxnovo", null); // estado civil
                 getMenu("cad", 16, null, null, "ajaxnovo", null); // idiomas
                 getMenu("cad", 3, null, null, "ajaxnovo", null); // paises                    
                 ?>

			</td>
			
		
			

		</tr>
		</tbody></table>
	</td>
</tr>
</tbody></table>
</div>



<div id="menu2" class="noprint" style="top: 88px; left: 0pt; width: 0px; height: 0px; position: absolute; visibility: hidden; z-index: 12;">
<table class="menuConteudo" cellpadding="2" cellspacing="0">
<tbody><tr>
	<td>
		<table border="0" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td valign="top">
				<div class="grupo1">
				<b>&nbsp; Pessoas &nbsp; </b><br>
                 <?php
                 getMenu("alt", 8, "H&oacute;spedes e Funcion&aacute;rios", null, "htmlnovo", "b");                 
                 
                 ?>
                 
				</div>


				<div class="grupo1">
				<b>&nbsp;Unidade Hoteleira&nbsp;</b><br>
                <?php
                 getMenu("alt", 1, null, null, "ajaxnovo", null); // tipo de hospedaria 
                 getMenu("alt", 2, null, null, "ajaxnovo", null); // unidade   
                ?>
				<br>
				</div>
			</td>

			<td valign="top">
				<div class="grupo1">
				<b>&nbsp;Montagem das Habita&ccedil;&ocirc;es&nbsp; </b><br>
                <?php
                getMenu("alt", 12, null, null, "ajaxnovo", null); // montagem da habitacao
                //getMenu("alt", 5, null, null, "ajaxnovo", null); // localizacao da Cama
                getMenu("alt", 15, null, null, "ajaxnovo", null); // valor p habitacao 
                ?>
				</div>     
				<div class="grupo1">
				<b>&nbsp;Tabelas Auxiliares - Habita&ccedil;&atilde;o&nbsp;</b><br>
				<?php
                 getMenu("alt", 4, null, null, "ajaxnovo", null); // blocos				 
                 getMenu("alt", 11, null, null, "ajaxnovo", null); // tipo de habitacao                 
                 //getMenu("alt", 14, null, null, "ajaxnovo", null); // tipo de cama
                 
                 ?>
                 </div>           

			</td>
			<td class="grupo2" valign="top">
				<b>&nbsp;Almoxarifado/Servi&ccedil;os&nbsp;</b><br>
				<?php
                 getMenu("alt", 17, "Categoria de Itens", null, "ajaxnovo", null); //Categorias de Produtos				 
                 getMenu("alt", 18, "Itens: Produtos / Servi&ccedil;os", null, "ajaxnovo", null); // produtos	
                 getMenu("alt", 19, "Lancamento de Entrada de <br>itens no Almoxarifado", null, "ajaxnovo", null); // tipo de habitacao                 
                 
                 ?>
			</td>
			
			

			<td class="grupo2" valign="top">
				<b>&nbsp;Tabelas Auxiliares - Pessoa&nbsp;</b><br>
				<?php
                 getMenu("alt", 6, null, null, "ajaxnovo", null); // como descobriu
                 getMenu("alt", 7, null, null, "ajaxnovo", null); // motivo viagem
                 getMenu("alt", 9, null, null, "ajaxnovo", null); // tipo documento
                 getMenu("alt", 10, null, null, "ajaxnovo", null); // estado civil
                 getMenu("alt", 16, null, null, "ajaxnovo", null); // idiomas
                 getMenu("alt", 3, null, null, "ajaxnovo", null); // paises                    
                 ?>

			</td>

		</tr>
		</tbody></table>
	</td>
</tr>
</tbody></table>
</div>






<div id="menu3" class="noprint" style="top: 88px; left: 0pt; width: 0px; height: 0px; position: absolute; visibility: hidden; z-index: 12;">
<table class="menuConteudo" cellpadding="2" cellspacing="0">
<tbody><tr>
	<td>
		<table border="0" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td class="Xgrupo1" valign="top">&nbsp;</td>
			<td valign="top">
				<div class="grupo1">
				<b>&nbsp;Reservas&nbsp;   </b><br>
	             <?php
	             getMenu("reserva", 1, "Mapa Ocupacional / Check in ", null, "htmlnovo", null);
	             
	             ?>
  		 	    </div>
			</td>
			<td valign="top">
			<div class="grupo1">
				<b>&nbsp;Lan&ccedil;amento&nbsp;   </b><br>
	             <?php
	             getMenu("reserva", 3, "Consumo: bar / servi&ccedil;o", null, "htmlnovo", null);    
	             ?> 
  		 	    </div>
				&nbsp;
			</td>
			</tr>
		</tbody></table>
	</td>
</tr>
</tbody></table>
</div>


<div id="menu4" class="noprint" style="top: 88px; left: 0pt; width: 0px; height: 0px; position: absolute; visibility: hidden; z-index: 12;">
<table class="menuConteudo" cellpadding="2" cellspacing="0">
<tbody><tr>
	<td>
		<table border="0" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td class="Xgrupo2" valign="top">&nbsp;</td>
			<td class="Xgrupo2" valign="top">&nbsp;</td>
		
			<td valign="top">
			<div class="grupo1">
				<b>&nbsp;Diversos&nbsp;</b><br>
             <?php
             getMenu("rel", 7, null, null, "ajaxnovo", null); //listagens
             ?>
			</div>
			<div class="grupo1">
				<b>&nbsp;Valores&nbsp;</b><br>
             <?php
             getMenu("rel", 6, null, null, "htmlnovo", null); //valores arrecadados
             ?>
			</div>
			
			</td>
			<td class="grupo2" valign="top">
				<b>&nbsp;Frequentes&nbsp;</b><br>
             <?php
             getMenu("rel", 1, null, null, "ajaxnovo", null); 
             getMenu("rel", 2, null, null, "htmlnovo", null); 
             getMenu("rel", 3, null, null, "ajaxnovo", null);
             getMenu("rel", 4, null, null, "ajaxnovo", null);
             //getMenu("rel", 5, null, null, "ajaxnovo", null);
             getMenu("rel", 8, null, null, "ajaxnovo", null);
             //getMenu("rel", 9, null, null, "ajaxnovo", null);
             //getMenu("rel", 10, null, null, "ajaxnovo", null);
             ?>

			</td>

		</tr>
		</tbody></table>
	</td>
</tr>
</tbody></table>
</div>



<div id="menu5" class="noprint" style="top: 88px; left: 0pt; width: 0px; height: 0px; position: absolute; visibility: hidden; z-index: 12;">
<table class="menuConteudo" cellpadding="2" cellspacing="0">
<tbody><tr>
	<td>
		<table border="0" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td class="grupo2" valign="top">

				<b>&nbsp;Configura&ccedil;&otilde;es&nbsp;</b><br>             
             <?php
             getMenu("config", 1, null, null, "ajaxnovo", null); //configuracoes da unidade             
            ?>

			</td>
			<td class="grupo2" valign="top">
			
			<b>&nbsp;Funcion&aacute;rio&nbsp;</b><br>
             <?php
             getMenu("config", 2, null, null, "ajaxnovo", null); //alterar senha             
             ?>
			

			</td>
			<td  class="grupo2" valign="top">
				<b>&nbsp;Avisos / Mala Direta &nbsp;</b><br>
             <?php
             getMenu("config", 3, null, null, "ajaxnovo", null); //enviar avisos              
             getMenu("config", 5, null, null, "ajaxnovo", null); //enviar avisos              
             getMenu("config", 6, null, null, "ajaxnovo", null); //enviar avisos              
          
            ?>

			</td>
			<td class="grupo2"  valign="top">
				<b>&nbsp;Supervis&atilde;o&nbsp;</b><br>
             <?php
             getMenu("config", 4, null, null, "ajaxnovo", null); //liberacao de acessos
            ?>
            </td>

		</tr>
		</tbody></table>
	</td>
</tr>
</tbody></table>
</div>



<div id="menu6" class="noprint" style="top: 88px; left: 0pt; width: 0px; height: 0px; position: absolute; visibility: hidden; z-index: 12;">
<table class="menuConteudo" cellpadding="2" cellspacing="0">
<tbody><tr>
	<td>
		<table border="0" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td class="Xgrupo1" valign="top">&nbsp;</td>
			<td class="Xgrupo1" valign="top">&nbsp;</td>
			<td class="grupo1" valign="top">
				<b>&nbsp;Reservas&nbsp;</b><br>
             <?php
             getMenu("pesq", 2, null, null, "htmlnovo", "p"); //pesquisa por reservas
             ?>
			</td>
			<td class="grupo1" valign="top">
				<b>&nbsp;Pessoas &nbsp;</b><br>
             <?php
             getMenu("pesq", 1, "H&oacute;spedes e Funcion&aacute;rios", null, "ajaxnovo", null); //pesquisa por pessoas
             ?>
			</td>
		</tr>
		</tbody></table>
	</td>
</tr>
</tbody></table>
</div>



<div class="menu">
	<div class="menu_titulo"  onclick="rem()"   style="background: url(images/topo_hotelaria.jpg) no-repeat;">
        <?php
        echo"
        <img src='images/transp.gif' width='326' height='19' border='0'><b>Unidade:</b> ". $_SESSION["NOME_HOSTEL_"] ."<BR>
        <img src='images/transp.gif' width='326' height='13' border='0'><b>ID:</b> ". $_SESSION["loginCK_"] ."
        - ". $_SESSION["nomeCK_"] ."
        <!--N�vel de Acesso:". $_SESSION["tipoCK_"] ."<BR>-->

        ";
        ?>
  	</div>

	<div id="menuaberto" class="noprint"><img src='images/menu_esq.gif' width='11' height='31' border='0'><a href="#" onmouseover="if(ready == 'yes'){menuOn('menu1')}" class="menu1"><img src='images/transp.gif' width='89' height='31' border='0'></a><a href="#" onmouseover="if(ready == 'yes'){menuOn('menu2')}" class="menu2"><img src='images/transp.gif' width='173' height='31' border='0'></a><a href="#" onmouseover="if(ready == 'yes'){menuOn('menu3')}" class="menu3"><img src='images/transp.gif' width='173' height='31' border='0'></a><a href="#" onmouseover="if(ready == 'yes'){menuOn('menu4')}" class="menu4"><img src='images/transp.gif' width='91' height='31' border='0'></a><a href="#" onmouseover="if(ready == 'yes'){menuOn('menu5')}" class="menu5"><img src='images/transp.gif' width='105' height='31' border='0'></a><a href="#" onmouseover="if(ready == 'yes'){menuOn('menu6')}" class="menu6"><img src='images/transp.gif' width='115' height='31' border='0'></a></div>

</div>




<script language="JavaScript">var estado=false;</script>
<script language="JavaScript" src="css2/menu/menuNe.js"></script>
<!-- MENU FIM -->





</div>
<div id="include" style="width:740px">

<?php
include"carrega_include.jsp";

$time_end = getmicrotime();
$time = $time_end - $time_start;
?>
</div><br clear='all'><br>
<?php
include"footer.jsp";
?>





<div id='loading' class="noprint"></div>
<div style="display: none; left: 138px; top: 131px;" id="bubble_tooltip">
	<div class="bubble_top"><span></span></div>
	<div class="bubble_middle"><span id="bubble_tooltip_content">Avisos</span></div>
	<div class="bubble_bottom"></div>
</div>

<BR><BR>


</body>
</html>


